
import request from "@/service/axios/index";

/**@description 字典详情数据API */
const dictDataApi = {

    /**@description 查询字典详情数据列表 */
    postDictDataList: (data) => {
        return request.post({ url: '/system/dict/data/list', data })
    },

    /**@description 删除字典详情 */
    deleteDictData: (id) => {
        return request.delete({ url: '/system/dict/data/delete?id=' + id })
    },

    /**@description 修改字典详情 */
    createDictData: (data) => {
        return request.post({ url: '/system/dict/data/create', data })
    },
    // 获取菜单详情
    getDictDetail: (id) => {
        return request.get({ url: '/system/dict/data/get?id=' + id })
    }
}
export default dictDataApi;